package com.tamecode.chapter07.sec2;

public class TestForumService {
    public static void main(String[] args) {
        ForumService forumService = new ForumServiceImpl();
        forumService.removeForum(10);
        forumService.removeTopic(1012);
    }
    /*
    begin monitor...
    模拟删除Forum记录:10
    end monitor...
    com.smart.proxy.ForumServiceImpl. removeForum花费42毫秒。
    begin monitor...
    模拟删除Topic记录:1012
    end monitor...
    com.smart.proxy.ForumServiceImpl. removeTopic花费31毫秒。
     */
}